#include "list.hpp"

int main() {
    list ls;
    ls.insert_back(1);
    ls.insert_back(2);
    ls.insert_back(3);
    ls.insert_back(4);
    std::cout<<ls.inlist(3)<<std::endl;
    std::cout<<ls.inlist(9)<<std::endl;
    ls.display();
    ls.rdisplay();
    ls.delete_back();
    ls.display();
    ls.delete_head();
    ls.display();
    std::cout<<ls.inlist(3)<<std::endl;
    return 0;
}